﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="TestimonialsList.ascx.cs"
    Inherits="Indochinaodyssey.UserControl.Testimonials.TestimonialsList" %>
<%@ Register Assembly="CollectionPager" Namespace="SiteUtils" TagPrefix="cc1" %>
<style type="text/css">
    div.testimonial
    {
        float: left;
        margin-top: 10px;
        height: 60px;
        width:100%;
        border-bottom-color: #b2b2b2;
        border-bottom-style: dotted;
        border-bottom-width: 1px;
    }
    div.testimonial p
    {
        padding: 0px 0px 0px 0px;
        margin: 0px 0px 0px 0px;
        display: inline;
        font-style: italic;
    }
    .readmore
    {
        width: 10px;
        height: 10px;
        display: inline;
    }
</style>
<div class="testimonial">
    <asp:DataList ID="DataList1" runat="server" Width="100%">
        <ItemTemplate>
            <asp:Label ID="NoiDungLabel" runat="server" Text='<%# Eval("NoiDung") %>' />
            ...<br />
            <div class="more">
                <img alt="Read more" class="readmore" src="../../Style/Images/read-more.png" />
                <asp:HyperLink ID="linkMore" runat="server" NavigateUrl='<%# "~/testimonialsdetail.aspx?id=" + Eval("Id") %>'>Read more</asp:HyperLink>
            </div>
        </ItemTemplate>
    </asp:DataList>
</div>
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetAll"
    TypeName="IOBusiness.clsBSTestimonials"></asp:ObjectDataSource>
<cc1:CollectionPager ID="CollectionPager1" runat="server" LabelText="Page :" MaxPages="20"
    ResultsFormat="" ShowFirstLast="True" ViewStateMode="Enabled">
</cc1:CollectionPager>
<br />
<br />
